<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>{$Think.config.site.title} - 编辑常见问题</title>
    <meta name="keywords" content="{$Think.config.site.keywords}">
    <meta name="description" content="{$Think.config.site.description}">
    <link rel="shortcut icon" href="favicon.ico"> <link href="{$Think.config.site.resource_url}css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="{$Think.config.site.resource_url}css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="{$Think.config.site.resource_url}css/animate.css" rel="stylesheet">
    <link href="{$Think.config.site.resource_url}css/style.css?v=4.1.0" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="{$Think.config.site.resource_url}css/plugins/markdown/bootstrap-markdown.min.css" />
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title"><h5>{:lang('修改常见问题')}</h5></div>
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="commentForm" method="post" action="">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">{:lang('问题标题')}：</label>
                            <div class="col-sm-10">
                                <input id="cname" name="question" minlength="2" type="text" value="{$faq.question}" class="form-control" required="" aria-required="true">
                                <input type="hidden" name="id" value="{$faq.id}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">{:lang('回答内容')}：</label>
                            <div class="col-sm-10">
                                <div class="ibox-content">
                                    <textarea name="answer" data-provide="markdown" rows="15">{$faq.answer}</textarea>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-2 control-label">
                                <button class="btn btn-primary" type="submit">{:lang('提交')}</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- 全局js -->
<script src="{$Think.config.site.resource_url}js/jquery.min.js?v=2.1.4"></script>
<script src="{$Think.config.site.resource_url}js/bootstrap.min.js?v=3.3.6"></script>
<!-- 自定义js -->
<script src="{$Think.config.site.resource_url}js/content.js?v=1.0.0"></script>
<!-- simditor -->
<script type="text/javascript" src="{$Think.config.site.resource_url}js/plugins/markdown/markdown.js"></script>
<script type="text/javascript" src="{$Think.config.site.resource_url}js/plugins/markdown/to-markdown.js"></script>
<script type="text/javascript" src="{$Think.config.site.resource_url}js/plugins/markdown/bootstrap-markdown.js"></script>
<script type="text/javascript" src="{$Think.config.site.resource_url}js/plugins/markdown/bootstrap-markdown.zh.js"></script>
</body>
</html>
